<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8"/>
		<title>Yming博客系统</title>
		{script}
		var __DYHB_JS_ENTER__='{:__APP__}';
		{/script}
		<import file="Js.Vendor.Jquery" />    
		<import file="Js.Dyhb#package" />  
		{script}    
		{:App::U()}      
		{/script}  
		<link rel="stylesheet" type="text/css" href="{:__TMPLPUB__}/Css/style.css"/>
		<script type="text/javascript" src="{:__TMPLPUB__}/Js/check.js"></script>
	</head>
	<body>
		<div class="container">
			<table width="757" cellspacing="0" cellpadding="0" border="0" align="center">
				<tr align="right" valign="top">
					<td height="149" background="{:__TMPLPUB__}/Images/head.jpg" colspan="2">
						<div id="head">
							{if $GLOBALS['___login___']===false}
								<a href="{:Dyhb::U('index/index')}">首页</a>
								<a href="{:Dyhb::U('article/add')}">我的博客</a>
								<a href="{:Dyhb::U('user/register')}">博客注册</a>
							{d*else}
								<a>{$GLOBALS['___login___']['regname']}</a>
								<a href="{:Dyhb::U('article/add')}">我的博客</a>
								<a href="{:Dyhb::U('user/logout')}">安全退出</a>
							{/if}
						</div><!--/head-->
						<div id="login">
							{if $GLOBALS['___login___']===false}
								<form name="login_form" action="{:Dyhb::U('user/login')}" method="post">
										<label for="user_name" class="label_vtl">用户名:</label><input class="input_vtl" type="text" name="user_name" id="user_name"/>
										<label for="user_password" class="label_vtl">密码:</label><input class="input_vtl" type="password" name="user_password" id="user_password" value=""/>
										<label for="string" class="label_vtl">验证码:</label><input class="input_vtl string" type="text" name="string" id="string" />
										<img class="image_vtl" name="img" id="img" src="{:Dyhb::U('user/seccode')}" onclick='this.src=this.src+"?"+new Date().getTime()' style="cursor:pointer;"/>
										<input type="submit" name="sub" value="登陆" onclick="javascript:return login_check();" />
								</form>
							{d*else}
								<a style="margin:0px 150px 0px 0px;font-size:17px;">欢迎你的加入,Yming博客有你更精彩!</a>
							{/if}
						</div><!--/login-->
					</td>
				</tr>
				<!--/header-->